<include file="Public:header" />
<div class="headbar">
    <div class="position"><span>商品</span><span>></span><span>品牌管理</span><span>></span><span>分类列表</span></div>
    <div class="operating">
        <a href="{:U('Goods/brand_category_edit')}"><button class="operating_btn" type="button" ><span class="addition">添加分类</span></button></a>
    </div>
</div>
<div class="content">
    <table class="list_table">
        <thead>
            <tr>
                <th>分类名称</th>
                <th>操作</th>
            </tr>
        </thead>

        <tbody>
        <foreach name='category' item='item' key='key'>
            <tr>
                <td>{$item.name}</td>
                <td><a href="{:U('Goods/brand_category_edit',array('id'=> $item[id]))}"><img class="operator" src="__PUBLIC__/Partner/images/admin/icon_edit.gif" alt="修改" /></a>
                    <a href="javascript:void(0)" onclick="delModel({link:'{:U('Goods/brand_category_del',array('id'=> $item[id]))}'})"><img class="operator" src="__PUBLIC__/Partner/images/admin/icon_del.gif" alt="删除" /></a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    {$page}
</div>
<include file="Public:footer" />